package com.alks.function.data.request.factoryquery;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Setter
@Getter
@NoArgsConstructor
public class CuttingPartRequest {
    @NotBlank(message = "指令不能为空")
    @ApiModelProperty(value = "(必须)指令")
    private String lotNo;

    @ApiModelProperty(value = "轮次")
    private BigDecimal lsNo;

    @NotBlank(message = "工艺类型不能为空")
    @ApiModelProperty(value = "(必须)01 冲裁/ 02 高频 / 03 配套中心")
    private String processCode;

    @NotNull(message = "类型不能为空")
    @ApiModelProperty(value = "(必须)1 收料状况/2 发料状况/ 3 库存状况")
    private Integer mtlCode;

    @ApiModelProperty(value = "(必须)型体")
    private String style;

}
